package cn.tedu.smartos.family_user.service;

import cn.tedu.smartos.family_user.pojo.dto.FenceParam;
import cn.tedu.smartos.family_user.pojo.entity.ElectronicFence;

import java.util.List;

public interface FenceService {
    void createFence(FenceParam param);
    void updateFence(FenceParam param);
//    void deleteFence(Long fenceId,Long currentUserId);
    void deleteFence(Long fenceId);
    List<ElectronicFence> getFencesByFamily(Long familyUserId);
    List<ElectronicFence> getFencesByElderly(Long elderlyUserId);
    ElectronicFence getFenceById(Long fenceId);
}